/**
 * Project Name:kany-project-blog-web
 * File Name:Token.java
 * Package Name:me.kany.project.blog.resource.model
 * Date:2016年9月21日下午3:37:49
 * Copyright (c) 2016, Jason.Wang All Rights Reserved.
 */
package me.kany.project.blog.resource.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * ClassName:Token<br/>
 * Function: Token对象<br/>
 * Date:2016年9月21日下午3:37:49<br/>
 * 
 * @author Jason.Wang
 * @version 1.0
 * @since JDK1.7
 * @see
 */
public class Token {
	private String authToken;
	private Date expires;

	/**
	 * @return the authToken
	 */
	public String getAuthToken() {
		return authToken;
	}

	/**
	 * @param authToken the authToken to set
	 */
	public void setAuthToken(String authToken) {
		this.authToken = authToken;
	}

	/**
	 * @return the expires
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getExpires() {
		return expires;
	}

	/**
	 * @param expires the expires to set
	 */
	public void setExpires(Date expires) {
		this.expires = expires;
	}
}
